fix(ide): use relative path for IDE icons - #452
Conversation
Absolute /icons/... paths resolve to filesystem root in packaged Electron, so none of the IDE icons rendered. Match the existing ProviderIcon convention with ./icons/... instead.
✅ Deploy Preview for devsydev canceled.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates the IDE icon URL generation in the WorkspaceWizard component, changing from root-relative paths to relative paths when constructing URLs for IDE icon SVGs. ChangesIcon URL Path Format
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
/icons/ides/...), which resolve to filesystem root under Electron'sfile://protocol and fail to load../icons/ides/...) to match the existingProviderIcon.svelteconvention.Summary by CodeRabbit